@import '../../../styles/theme.scss';

.ylui-text-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.ylui-tree {
  width: 100%;
}
.ylui-indent {
  display: inline-block;
  width: 16px;
  height: 16px;
  // background: red;
}
.ylui-icon {
  // margin-top: 3px;
  cursor: pointer;
}
.ylui-cursor {
  // margin-top: 3px;
  cursor: pointer;
}
.ylui-icon {
  margin-top: 2px;
}
.ylui-tree-node {
  width: auto;
  margin: 8px 0;
  &:hover {
    background-color: #f7f7f7;
  }
  &__content {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 30px;
    line-height: 30px;
  }
  &__content-left {
    margin-left: 8px;
  }
  &__content-body {
    margin-left: 8px;
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
  &__content-right {
    &-checkbox {
      width: 16px;
      height: 16px;
    }
  }
  &--open {
    // background: #f1f1f1;
  }
}
